﻿using System.Collections.Generic;

namespace Zocono.WCS.Admin.Models.ConfigManager
{
    public class S7CpuTypeItem
    {
        public string CpuTypeName { get; set; }
        public int CpuTypeValue { get; set; }

        public readonly static List<S7CpuTypeItem> S7CpuTypeDatasource = new List<S7CpuTypeItem>()
        {
            new S7CpuTypeItem(){ CpuTypeName = "请选择", CpuTypeValue = -1 },
            new S7CpuTypeItem(){ CpuTypeName = "S7200", CpuTypeValue = 0 },
            new S7CpuTypeItem(){ CpuTypeName = "Logo0BA8", CpuTypeValue = 1 },
            new S7CpuTypeItem(){ CpuTypeName = "S7200Smart", CpuTypeValue = 2 },
            new S7CpuTypeItem(){ CpuTypeName = "S7300", CpuTypeValue = 10 },
            new S7CpuTypeItem(){ CpuTypeName = "S7400", CpuTypeValue = 20 },
            new S7CpuTypeItem(){ CpuTypeName = "S71200", CpuTypeValue = 30 },
            new S7CpuTypeItem(){ CpuTypeName = "S71500", CpuTypeValue = 40 }
        };
    }
}
